<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Category extends Model
{
    protected $fillable = [
        "name","created_at","updated_at",
    ];

    protected $table = "category";

    public function articles()
    {
        return $this->hasMany(Article::class);
    }
}
